'use strict'
const config = require('../config/config');
const Sequelize = require('sequelize');

const sequelize = new Sequelize(config.mysql.dbName, config.mysql.username, config.mysql.pw, {
    host: config.mysql.host,
    dialect: config.mysql.dialect,
    pool: config.mysql.pool
});

module.exports = sequelize;